package com.buddy.lock.reentrantlock._07;

public class MyThreadB extends Thread {
    private MyService myService;

    public MyThreadB(MyService myService){
        super();
        this.myService = myService;
    }

    public void run(){
        for (int i=0;i<Integer.MAX_VALUE;i++){
            myService.get();
        }
    }
}
